//
// Created by hjie on 23-6-24.
//

#include <string>
#include <memory>
#include <vector>
#include <functional>
#include <cstring>

class DataManager;

class SdpData
{
    friend class DataManager;
public:
    SdpData(DataManager * data_manager);
    std::string Type() { return m_sdp_type; }
    std::string Sdp()  { return m_sdp_data; }
    std::vector<std::string> & GetCandidateVec() { return m_icecandidate_vec; }
private:
    DataManager * m_data_manager;
private:
    std::string m_sdp_type;
    std::string m_sdp_data;
private:
    std::vector<std::string> m_icecandidate_vec;
};
